package com.log.james.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.Map;

@Mapper
public interface SrcIpAnalysisDao {

    @Select("select * from srcipanalysis where starttime = #{st} and srcip = #{ip}")
    Map<String,Object> getSrcIpAbnormal(@Param("st")Date starttime,@Param("ip")Long srcip);
}
